package Ejercicio2;

public class Tupla {

private int x;
private int y;
private int indiceOrigigal;

Tupla(int a, int b){
	x = a;
	y = b;
}



public int getX(){
	return x;
}



public int getY(){
	return y;
}

public int getIndiceOrigigal(){
	return indiceOrigigal;
}

public void IndiceOrigigal(int IndiceOrigigal){
	indiceOrigigal = IndiceOrigigal;
}


public void setX(int a){
	x = a;
}

public void setY(int b){
	y = b;
}

/*public boolean mayor(Tupla a,Tupla b) {
	return (a.getY() > b.getY());
}
*/
/*
public boolean menor(Tupla a,Tupla b) {
	return (a.getY() < b.getY());
}
*/
public boolean equals(Tupla b) {
	return (y == b.getY());
}

}
